<?php

class ForumController extends \Phalcon\Mvc\Controller
{

    public function indexAction()
    {
    	$this->view->setMainView('index');
		$this->view->setVar('page_name', 'Forum');
		$this->view->setVar('content', 'forum/index');
		$this->view->setVar('title', '| Forum');
    }
    public function createAction()
    {
		$this->view->setVar('page_name', 'CreateThread');
		$this->view->setVar('content', 'forum/index');
		$this->view->setVar('title', '| Forum-create');
    }
    public function forumAction()
    {
		$this->view->setVar('page_name', 'Forum');
		$this->view->setVar('content', 'forum/index');
		$this->view->setVar('title', '| ForumTitle');
    }
    public function profileAction()
    {
		$this->view->setVar('page_name', 'ForumProfile');
		$this->view->setVar('content', 'forum/index');
		$this->view->setVar('title', '| Forum-'.$this->session->get('fullname'));
    }

}

